home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000436_slash_dev_slas…_2000@yahoo.com_Thu Nov 11 09:58:26 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to use shell variable in a kermit shell script
Date: 10 Nov 2004 21:03:35 -0800
Organization: http://groups.google.com
Lines: 28
Message-ID: <1100149415.017612.185600@f14g2000cwb.googlegroups.com>
References: <4192a867$0$9345$626a14ce@news.free.fr>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1100149418 13859 127.0.0.1 (11 Nov 2004 05:03:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 11 Nov 2004 05:03:38 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=209.182.169.133;
posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15220
Frederic wrote:
> Hi,
>
> In a kermit shell script doing FTP transfert, between 1 master server
to
> many slave, I need to use values stored in shell environment
variable. How
> can I do this?
> Best regards,
Do you mean a Kermit script? If so, in MS-Kermit, C-Kermit and
Kermit-95, the environment is accessible via \$(environment_variable).
For example:
[C:\Program Files\Kermit 95 2.1\] K-95> echo \$(temp)
C:\DOCUME~1\Owner\LOCALS~1\Temp
[C:\Program Files\Kermit 95 2.1\] K-95> echo \$(path)
C:\Tcl\bin;F:\CVS\ssh\ssh;c:\program files\kermit 95
2.1;c:\gnuwin32\bin;f:\bin;f:\m51;f:\m51\bin;f:\c51;f:\c51\bin;f:AST_C\progra~1\basic;C:\WINDOWS\system32;C:\WINDOWS;c:\gs\gs8.14\bin;c:\gs\gs8.14\lib;C:\Program
Files\Python;C:\WINDOWS\System32\Wbem;C:\Program files\PC-Doctor for
Windows XP\WINDSAPI
[C:\Program Files\Kermit 95 2.1\] K-95>
--
Mark Sapiro msapiro at value net The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan